package com.elong.common.http;

import java.util.Map;

import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPut;

public class ElongHttpUtil {

    /**
     * httpclient
     */
    private HttpClient client;
    
    /**
     * httpGet
     */
    private HttpGet getMethod;
    
    /**
     * httpPut
     */
    private HttpPut putMethod;
    
    /**
     * get params
     */
    private Map<String, Object> getParams;
    
    /**
     * put params
     */
    private Map<String, Object> putParams;

    /**
     * getter method for client
     * @return the client
     */
    public HttpClient getClient() {
        return client;
    }

    /**
     * setter method for client
     * @Description the client to set
     * @param client 
     */
    public void setClient(HttpClient client) {
        this.client = client;
    }

    /**
     * getter method for getMethod
     * @return the getMethod
     */
    public HttpGet getGetMethod() {
        return getMethod;
    }

    /**
     * setter method for getMethod
     * @Description the getMethod to set
     * @param getMethod 
     */
    public void setGetMethod(HttpGet getMethod) {
        this.getMethod = getMethod;
    }

    /**
     * getter method for putMethod
     * @return the putMethod
     */
    public HttpPut getPutMethod() {
        return putMethod;
    }

    /**
     * setter method for putMethod
     * @Description the putMethod to set
     * @param putMethod 
     */
    public void setPutMethod(HttpPut putMethod) {
        this.putMethod = putMethod;
    }

    /**
     * getter method for getParams
     * @return the getParams
     */
    public Map<String, Object> getGetParams() {
        return getParams;
    }

    /**
     * setter method for getParams
     * @Description the getParams to set
     * @param getParams 
     */
    public void setGetParams(Map<String, Object> getParams) {
        this.getParams = getParams;
    }

    /**
     * getter method for putParams
     * @return the putParams
     */
    public Map<String, Object> getPutParams() {
        return putParams;
    }

    /**
     * setter method for putParams
     * @Description the putParams to set
     * @param putParams 
     */
    public void setPutParams(Map<String, Object> putParams) {
        this.putParams = putParams;
    }
    
    
    
}
